package com.ruicar.afs.cloud.afscase.loanapprove.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>Description：增融成交价申请表</p>
 *
 * @author xueyu.ma
 * @version 1.0
 * @createDate 2020-7-4
 */
@Data
@TableName(value = "added_financing_items")
public class AddedFinancingItems  implements Serializable, Cloneable {

    @ApiModelProperty("唯一标识")
    @JsonSerialize(using = ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;
    /**
     * 申请编号
     */
    private String applyNo;
    /**
     * 合同号码
     */
    private String contractNo;
    /**
     * 车辆编号
     */
    private Long carId;
    /**
     * 增融项
     */
    private String financeItemCode;
    /**
     * 增融项名称
     */
    private String financeItemName;
    /**
     * 增融金额
     */
    private BigDecimal addFinanceAmt;
    /**
     * 父级ID
     */
    private Long upperId;
    /**
     * 备注;针对装潢明细显示
     */
    private String remarks;

    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 删除标记
     */
    private String delFlag;
}
